﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="WFExtended.Samples.Activities.TwitterTimelineSample"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:p="http://schemas.microsoft.com/netfx/2009/xaml/servicemodel"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:wfs="clr-namespace:WFExtended.Framework.ServiceModel;assembly=WFExtended"
 xmlns:wt="clr-namespace:WFExtended.Twitter;assembly=WFExtended.Twitter"
 xmlns:wta="clr-namespace:WFExtended.Twitter.Activities;assembly=WFExtended.Twitter"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="Tokens" Type="InArgument(wt:OAuthTokens)" />
    <x:Property Name="UserAccessTokenSecret" Type="InArgument(x:String)" />
    <x:Property Name="UserAccessToken" Type="InArgument(x:String)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>WFExtended.Samples.Activities.TwitterTimelineSample_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>WFExtended.Twitter</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Runtime.DurableInstancing</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Discovery</AssemblyReference>
      <AssemblyReference>System.Web</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>WFExtended.Twitter</AssemblyReference>
      <AssemblyReference>WFExtended</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>WFExtended.Samples</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <wta:TwitterProxy RetryCount="{x:Null}" RetryDelay="{x:Null}" EnablePersistence="True" EnableRateLimitAutoRetry="True" sap2010:WorkflowViewState.IdRef="TwitterProxy_1" UseSsl="True">
    <wta:TwitterProxy.ApplicationAccessToken>
      <InArgument x:TypeArguments="x:String">
        <mca:CSharpValue x:TypeArguments="x:String">Tokens.ApplicationAccessToken</mca:CSharpValue>
      </InArgument>
    </wta:TwitterProxy.ApplicationAccessToken>
    <wta:TwitterProxy.ApplicationAccessTokenSecret>
      <InArgument x:TypeArguments="x:String">
        <mca:CSharpValue x:TypeArguments="x:String">Tokens.ApplicationAccessTokenSecret</mca:CSharpValue>
      </InArgument>
    </wta:TwitterProxy.ApplicationAccessTokenSecret>
    <wta:TwitterProxy.ConsumerKey>
      <InArgument x:TypeArguments="x:String">
        <mca:CSharpValue x:TypeArguments="x:String">Tokens.ConsumerKey</mca:CSharpValue>
      </InArgument>
    </wta:TwitterProxy.ConsumerKey>
    <wta:TwitterProxy.ConsumerSecret>
      <InArgument x:TypeArguments="x:String">
        <mca:CSharpValue x:TypeArguments="x:String">Tokens.ConsumerSecret</mca:CSharpValue>
      </InArgument>
    </wta:TwitterProxy.ConsumerSecret>
    <wta:TwitterProxy.EndPointBehaviors>
      <InArgument x:TypeArguments="scg:List(p:IEndpointBehavior)" />
    </wta:TwitterProxy.EndPointBehaviors>
    <wta:TwitterProxy.Headers>
      <InArgument x:TypeArguments="scg:List(p:AddressHeader)" />
    </wta:TwitterProxy.Headers>
    <wta:TwitterProxy.Proxy>
      <InArgument x:TypeArguments="wfs:WcfProxy(wt:ITwitterApi)" />
    </wta:TwitterProxy.Proxy>
    <wta:TwitterProxy.RateLimitAutoRetryDelay>
      <InArgument x:TypeArguments="x:TimeSpan">
        <mca:CSharpValue x:TypeArguments="x:TimeSpan">new TimeSpan(0,2,0)</mca:CSharpValue>
      </InArgument>
    </wta:TwitterProxy.RateLimitAutoRetryDelay>
    <ActivityAction x:TypeArguments="wfs:WcfProxy(wt:ITwitterApi)">
      <ActivityAction.Argument>
        <DelegateInArgument x:TypeArguments="wfs:WcfProxy(wt:ITwitterApi)" Name="twitterProxy" />
      </ActivityAction.Argument>
      <wta:TwitterUserContext sap2010:WorkflowViewState.IdRef="TwitterUserContext_1">
        <wta:TwitterUserContext.UserAccessToken>
          <InArgument x:TypeArguments="x:String">
            <mca:CSharpValue x:TypeArguments="x:String">UserAccessToken</mca:CSharpValue>
          </InArgument>
        </wta:TwitterUserContext.UserAccessToken>
        <wta:TwitterUserContext.UserAccessTokenSecret>
          <InArgument x:TypeArguments="x:String">
            <mca:CSharpValue x:TypeArguments="x:String">UserAccessTokenSecret</mca:CSharpValue>
          </InArgument>
        </wta:TwitterUserContext.UserAccessTokenSecret>
        <ActivityAction>
          <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
            <Sequence.Variables>
              <Variable x:TypeArguments="scg:List(wt:Status)" Name="tweets" />
            </Sequence.Variables>
            <wta:GetRetweetsOfMe MaxID="{x:Null}" SinceID="{x:Null}" sap2010:WorkflowViewState.IdRef="GetRetweetsOfMe_1" OperationName="GetRetweetsOfMe">
              <wta:GetRetweetsOfMe.Count>
                <InArgument x:TypeArguments="x:Int32">
                  <mca:CSharpValue x:TypeArguments="x:Int32">50</mca:CSharpValue>
                </InArgument>
              </wta:GetRetweetsOfMe.Count>
              <wta:GetRetweetsOfMe.IncludeEntities>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRetweetsOfMe.IncludeEntities>
              <wta:GetRetweetsOfMe.IncludeUserEntities>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRetweetsOfMe.IncludeUserEntities>
              <wta:GetRetweetsOfMe.Parameters>
                <scg:Dictionary x:TypeArguments="x:String, InArgument" />
              </wta:GetRetweetsOfMe.Parameters>
              <wta:GetRetweetsOfMe.Proxy>
                <InArgument x:TypeArguments="wfs:AWcfProxy">
                  <mca:CSharpValue x:TypeArguments="wfs:AWcfProxy">twitterProxy</mca:CSharpValue>
                </InArgument>
              </wta:GetRetweetsOfMe.Proxy>
              <wta:GetRetweetsOfMe.Result>
                <OutArgument x:TypeArguments="scg:List(wt:Status)">
                  <mca:CSharpReference x:TypeArguments="scg:List(wt:Status)">tweets</mca:CSharpReference>
                </OutArgument>
              </wta:GetRetweetsOfMe.Result>
              <wta:GetRetweetsOfMe.TrimUser>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetRetweetsOfMe.TrimUser>
            </wta:GetRetweetsOfMe>
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_1">
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">tweets.Count.ToString()</mca:CSharpValue>
              </InArgument>
            </WriteLine>
            <wta:GetRecentMentions MaxID="{x:Null}" SinceID="{x:Null}" sap2010:WorkflowViewState.IdRef="GetRecentMentions_1" OperationName="GetRecentMentions">
              <wta:GetRecentMentions.ContributorDetails>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentMentions.ContributorDetails>
              <wta:GetRecentMentions.Count>
                <InArgument x:TypeArguments="x:Int32">
                  <mca:CSharpValue x:TypeArguments="x:Int32">50</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentMentions.Count>
              <wta:GetRecentMentions.IncludeEntities>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentMentions.IncludeEntities>
              <wta:GetRecentMentions.Parameters>
                <scg:Dictionary x:TypeArguments="x:String, InArgument" />
              </wta:GetRecentMentions.Parameters>
              <wta:GetRecentMentions.Proxy>
                <InArgument x:TypeArguments="wfs:AWcfProxy">
                  <mca:CSharpValue x:TypeArguments="wfs:AWcfProxy">twitterProxy</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentMentions.Proxy>
              <wta:GetRecentMentions.Result>
                <OutArgument x:TypeArguments="scg:List(wt:Status)">
                  <mca:CSharpReference x:TypeArguments="scg:List(wt:Status)">tweets</mca:CSharpReference>
                </OutArgument>
              </wta:GetRecentMentions.Result>
              <wta:GetRecentMentions.TrimUser>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentMentions.TrimUser>
            </wta:GetRecentMentions>
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_2">
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">tweets.Count.ToString()</mca:CSharpValue>
              </InArgument>
            </WriteLine>
            <wta:GetHomeTweets MaxID="{x:Null}" SinceID="{x:Null}" sap2010:WorkflowViewState.IdRef="GetHomeTweets_1" OperationName="GetHomeTweets">
              <wta:GetHomeTweets.ContributorDetails>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.ContributorDetails>
              <wta:GetHomeTweets.Count>
                <InArgument x:TypeArguments="x:Int32">
                  <mca:CSharpValue x:TypeArguments="x:Int32">50</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.Count>
              <wta:GetHomeTweets.ExcludeReplies>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.ExcludeReplies>
              <wta:GetHomeTweets.IncludeEntities>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.IncludeEntities>
              <wta:GetHomeTweets.Parameters>
                <scg:Dictionary x:TypeArguments="x:String, InArgument" />
              </wta:GetHomeTweets.Parameters>
              <wta:GetHomeTweets.Proxy>
                <InArgument x:TypeArguments="wfs:AWcfProxy">
                  <mca:CSharpValue x:TypeArguments="wfs:AWcfProxy">twitterProxy</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.Proxy>
              <wta:GetHomeTweets.Result>
                <OutArgument x:TypeArguments="scg:List(wt:Status)">
                  <mca:CSharpReference x:TypeArguments="scg:List(wt:Status)">tweets</mca:CSharpReference>
                </OutArgument>
              </wta:GetHomeTweets.Result>
              <wta:GetHomeTweets.TrimUser>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetHomeTweets.TrimUser>
            </wta:GetHomeTweets>
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_3">
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">tweets.Count.ToString()</mca:CSharpValue>
              </InArgument>
            </WriteLine>
            <wta:GetRecentTweets MaxID="{x:Null}" SinceID="{x:Null}" UserID="{x:Null}" Username="{x:Null}" sap2010:WorkflowViewState.IdRef="GetRecentTweets_1" OperationName="GetRecentTweets">
              <wta:GetRecentTweets.ContributorDetails>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.ContributorDetails>
              <wta:GetRecentTweets.Count>
                <InArgument x:TypeArguments="x:Int32">
                  <mca:CSharpValue x:TypeArguments="x:Int32">50</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.Count>
              <wta:GetRecentTweets.ExcludeReplies>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.ExcludeReplies>
              <wta:GetRecentTweets.IncludeRts>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">true</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.IncludeRts>
              <wta:GetRecentTweets.Parameters>
                <scg:Dictionary x:TypeArguments="x:String, InArgument" />
              </wta:GetRecentTweets.Parameters>
              <wta:GetRecentTweets.Proxy>
                <InArgument x:TypeArguments="wfs:AWcfProxy">
                  <mca:CSharpValue x:TypeArguments="wfs:AWcfProxy">twitterProxy</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.Proxy>
              <wta:GetRecentTweets.Result>
                <OutArgument x:TypeArguments="scg:List(wt:Status)">
                  <mca:CSharpReference x:TypeArguments="scg:List(wt:Status)">tweets</mca:CSharpReference>
                </OutArgument>
              </wta:GetRecentTweets.Result>
              <wta:GetRecentTweets.TrimUser>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">false</mca:CSharpValue>
                </InArgument>
              </wta:GetRecentTweets.TrimUser>
            </wta:GetRecentTweets>
            <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_4">
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">tweets.Count.ToString()</mca:CSharpValue>
              </InArgument>
            </WriteLine>
          </Sequence>
        </ActivityAction>
      </wta:TwitterUserContext>
    </ActivityAction>
    <sads:DebugSymbol.Symbol>d1VFOlxQcm9qZWN0c1xXRkVcTWFpblxTb3VyY2VzXFdGRXh0ZW5kZWQuU2FtcGxlc1xBY3Rpdml0aWVzXFR3aXR0ZXJUaW1lbGluZVNhbXBsZS54YW1sMDgDngIWAgEBOwk7ZAMB2gFACUBqAwHWAUUJRVkDAdIBWAlYXAMBzgFKCUpcAwHKAV8HmwIgAgECYg1iWgMBxQFnDWdgAwHAAWsLmQIWAgEDbw2RASMDAZsBkgENlgEZAwGUAZcBDbkBJQIBb7oBDb4BGQIBaL8BDeYBIQIBPecBDesBGQIBNuwBDZMCIwIBC5QCDZgCGQIBBIQBE4QBYgMBugGOAROOAVcDAbQBchNyUgMBrgF3E3dWAwGoAYkBE4kBagMBogF8E3xWAwGcAZQBEZQBZgMBlQGaAROaAVYDAY4BrAETrAFiAwGIAbYBE7YBVwMBggGfAROfAVICAXykAROkAVYCAXaxAROxAWoCAXC8ARG8AWYCAWnCARPCAVYCAWLMARPMAVcCAVzZARPZAWICAVbjARPjAVcCAVDHARPHAVICAUrRARPRAVYCAUTeARPeAWoCAT7pARHpAWYCATfvARPvAVYCATD5ARP5AVcCASqGAhOGAmICASSQAhOQAlcCAR7+ARP+AVYCARj0ARP0AVICARKLAhOLAmoCAQyWAhGWAmYCAQU=</sads:DebugSymbol.Symbol>
  </wta:TwitterProxy>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="GetRetweetsOfMe_1" sap:VirtualizedContainerService.HintSize="211,72" />
      <sap2010:ViewStateData Id="WriteLine_1" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="GetRecentMentions_1" sap:VirtualizedContainerService.HintSize="211,72" />
      <sap2010:ViewStateData Id="WriteLine_2" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="GetHomeTweets_1" sap:VirtualizedContainerService.HintSize="211,72" />
      <sap2010:ViewStateData Id="WriteLine_3" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="GetRecentTweets_1" sap:VirtualizedContainerService.HintSize="211,72" />
      <sap2010:ViewStateData Id="WriteLine_4" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="233,940">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TwitterUserContext_1" sap:VirtualizedContainerService.HintSize="263,1064" />
      <sap2010:ViewStateData Id="TwitterProxy_1" sap:VirtualizedContainerService.HintSize="293,1188" />
      <sap2010:ViewStateData Id="WFExtended.Samples.Activities.TwitterTimelineSample_1" sap:VirtualizedContainerService.HintSize="333,1268" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>